package org.zoffy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.zoffy.model.entity.User;
import org.zoffy.model.vo.UserVO;
import org.zoffy.security.UserDetail;

public interface UserService extends IService<User> {
    boolean registry(String userAccount,String userPassword,String checkPassword);
    UserVO login(String userAccount, String userPassword, HttpServletRequest request, HttpServletResponse response);
    UserVO current(UserDetail userDetail);
}